/*
 * @copyright: Huang Ding
 * @Author: ding-cx
 * @Date: 2021-08-20 14:54:49
 * @LastEditors: ding-cx
 * @LastEditTime: 2022-06-15 16:32:40
 * @Description: file content
 */
/** 所有的海清机器接口操作action */
export const enum actions {
	/** 获取系统时间 */
	"GetSysTime" = "GetSysTime",
	/** 设置系统时间 */
	"SetSysTime" = "SetSysTime",
	/** 开门控制 */
	"OpenDoor" = "OpenDoor",

	/** 新增名单 */
	"AddPerson" = "AddPerson",
	/** 修改名单 */
	"EditPerson" = "EditPerson",
	/** 删除单个或多个名单 */
	"DeletePerson" = "DeletePerson",
	/** 删除所有名单 */
	"DeleteAllPerson" = "DeleteAllPerson",
	/** 搜索查询名单 */
	"searchPerson" = "SearchPerson",
	/** 查询机器名单总数 */
	"SearchPersonNum" = "SearchPersonNum",

	/** 获取声音播放文件和数量 */
	"GetAudio" = "GetAudio",
	/** 播放指定文件声音 */
	"SetAudio" = "SetAudio",
	/** 设置用户名，密码 */
	"SetUserPwd" = "SetUserPwd",
	/** 重启设备 */
	"RebootDevice" = "RebootDevice",
	/** 获取常用设置参数 */
	"GetGeneralParam" = "GetGeneralParam",
	/** 设置常用设置参数 */
	"SetGeneralParam" = "SetGeneralParam",
	/** 获取网络参数 */
	"GetNetParam" = "GetNetParam",
	/** 设置网络参数 */
	"SetNetParam" = "SetNetParam",
	/** 查询温度参数 */
	"GetTemperature" = "GetTemperature",
	/** 设置温度参数 */
	"SetTemperature" = "SetTemperature",
	/** 获取系统参数 */
	"GetSysCfg" = "GetSysCfg",
	/** 设置系统参数 */
	"SetSysCfg" = "SetSysCfg",

	/** 控制记录总数查询 */
	"SearchControlNum" = "SearchControlNum",
	/** 控制记录人员信息查询 */
	"SearchControl" = "SearchControl",
	/** 抓拍记录总数查询 */
	"SearchCaptureNum" = "SearchCaptureNum",
	/** 抓拍记录信息查询 */
	"SearchCapture" = "SearchCapture",
	/** 手动推送控制记录 */
	"ManualPushRecords" = "ManualPushRecords",

	/** 数据http订阅配置 */
	"Subscribe" = "Subscribe",
	/** 获取订阅的配置 */
	"GetSubscribe" = "GetSubscribe",

	/** 取消订阅 */
	"Unsubscribe" = "Unsubscribe",
	/** 获取人脸识别参数 */
	"GetFaceParam" = "GetFaceParam",
	/** 设置人脸识别参数 */
	"SetFaceParam" = "SetFaceParam",

	/** 获取开门条件参数 */
	"GetDoorCondition" = "GetDoorCondition",
	/** 设置开门条件参数 */
	"SetDoorCondition" = "SetDoorCondition",
	/** 获取音频参数 */
	"GetSound" = "GetSound",
	/** 设置音频参数 */
	"SetSound" = "SetSound",

	/** 策略 */
	/** 添加，修改通行策略 */
	"AddAccessStrategy" = "AddAccessStrategy",
	/** 删除通行策略 */
	"DelAccessStrategy" = "DelAccessStrategy",
	/** 查询所有通行策略id及名称 */
	"QueryAllStrategyID" = "QueryAllStrategyID",
	/** 根据策略id查询详情 */
	"AccessStrategyIDQueryStrategy" = "AccessStrategyIDQueryStrategy",
	/** 根据策略id查询关联的所有用户 */
	"AccessStrategyIDQueryPersons" = "AccessStrategyIDQueryPersons",
	/** 人员绑定通行策略 */
	"PersonsBindStrategyID" = "PersonsBindStrategyID",
	/** 人员解绑通行策略 */
	"PersonsUnbindStrategyID" = "PersonsUnbindStrategyID",

	/** http 获取mqtt参数配置 */
	"GetMQTTParam" = "GetMQTTParam",
	/** http 设置mqtt参数配置 */
	"SetMQTTParam" = "SetMQTTParam",
	/** http 获取系统设备信息 */
	"GetSysParam" = "GetSysParam",
	/** http 设置系统设备信息 */
	"SetSysParam" = "SetSysParam",

	/** mqtt 上线通知 */
	"Online" = "Online",
	/** mqtt 上线通知 回复*/
	"OnlineAck" = "Online-Ack",
	/** mqtt 下线通知 */
	"Offline" = "Offline",
	/** mqtt 远程开门 */
	"Unlock" = "Unlock",
	/** mqtt 心跳operator */
	"HeartBeat" = "HeartBeat",
	/** mqtt 播放语音文件 */
	"voiceplay" = "voiceplay",
	/** mqtt 获取系统参数 */
	"Getconfig" = "Getconfig",
	/** mqtt 设置系统参数 */
	"Upconfig" = "Upconfig",
	/** mqtt 获取声音及界面参数 */
	"GetSoundconfig" = "GetSoundconfig",
	/** mqtt 设置声音及界面参数 */
	"UpSoundconfig" = "UpSoundconfig",
	/** mqtt 获取开门条件参数 */
	"GetDoorconfig" = "GetDoorconfig",
	/** mqtt 设置开门条件参数 */
	"UpDoorconfig" = "UpDoorconfig",
	/** mqtt 获取http订阅参数 */
	"GetHTTPconfig" = "GetHTTPconfig",
	/** mqtt 设置http订阅参数 */
	"UpHTTPconfig" = "UpHTTPconfig",
	/** mqtt 获取温度参数 */
	"GetTPTconfig" = "GetTPTconfig",
	/** mqtt 设置温度参数 */
	"UpTPTconfig" = "UpTPTconfig",
	/** mqtt 获取MQTT参数 */
	"GetMQTTconfig" = "GetMQTTconfig",
	/** mqtt 设置MQTT参数 */
	"UpMQTTconfig" = "UpMQTTconfig",
	/** mqtt 获取人脸识别参数 */
	"GetFaceconfig" = "GetFaceconfig",
	/** mqtt 设置人脸识别参数 */
	"UpFaceconfig" = "UpFaceconfig",
	/** mqtt 批量添加或修改人员名单 */
	"EditPersonsNew" = "EditPersonsNew",
	/** mqtt 获取当前软件版本 */
	"Versions" = "Versions",
	/** http mqtt 下发升级指令 */
	"Upgrade" = "Upgrade",
}

/** 所有音频文件 */
export const enum audioFile {
	/** 请通行 */
	"welcome" = "welcome.wav",
	/** 禁止通行 */
	"sorry" = "sorry.wav",
	/** 没有白名单 */
	"unrecord" = "unRecorded.wav",
	/** 刷卡提示 */
	"swipeCard" = "swipeCard.wav",
}
